#!/bin/bash
DIR="/data"
inotifywait -m -r -e modify,create,delete $DIR | while read path action file; do
  echo "[$(date)] $path$file - $action" >> /var/log/file_monitor.log
done